Folder Descriptor Class Constants
NEW WITH MAC OS 8
Constants of typeFolderClass
are used in thefoldClass
field to specify how thefoldLocation
field of the folder descriptor structure should be interpreted.
- IMPORTANT
- Developers can only create new folder descriptors with a class of
kRelativeFolder
.
enum { kRelativeFolder = 'relf', kSpecialFolder = 'spcf' }; typedef OSType FolderClass;Constant descriptions
kRelativeFolder
- This constant indicates that the
foldLocation
field contains the folder type of the parent folder, and thename
field contains the name of the folder. Most folder descriptors are for relative folders.kSpecialFolder
- Special folders are in locations hardwired into the Folder Manager, and can be found using special rules. Examples of special folders include a disk's root directory and System Folder. This constant indicates that the folder is located algorithmically, according to the constant supplied as the
foldLocation
field (kBlessedFolder
orkRootFolder
). Developers cannot create new folder descriptors of thekSpecialFolder
class.